package red.cyq.modules.entity;

import java.io.Serializable;

@SuppressWarnings("serial")
public class User implements Serializable {

	public static String USER_SESSION = "userSession";

	private int id;
	private String loginName;
	private String password;
	private String name;
	private String phone;

	public User() {
	}

	public User(String loginName) {
		this.loginName = loginName;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
